package com.sanjiahantang.youjiarole.config;


import android.graphics.Color;

import com.sanjiahantang.youjiarole.R;

/**
 * Created by admin on 2017/6/12.
 */

public interface StaticValue {
    String KEY_TYPE_GOODSID="typeGoodsId";
    String KEY_CONMENT_TITLE = "pptitle";
    String KEY_TOKEN = "token";
    String KEY_PHONE = "phone";
    String KEY_PAGE = "page";
    String KEY_PAGE_SIZE = "pageSize";
    String KEY_PARAM = "param";
    String KEY_ID = "id";
    String KEY_KEYWORDS = "keyword";
    String KEY_TITLE = "title";
    String KEY_ROLE_CODE = "roleCode";
    String KEY_ROLE_ID = "roleId";
    String KEY_customerPhone = "customerPhone";
    String KEY_NOTICE_CONTENT="noticeContent";
    String KEY_VERSION="version";
    String KEY_FILE_ID = "fileId";
    String KEY_BUSINESS_ID = "busiId";
    String KEY_BUSINESS_TYPE_ID = "busiTypeId";
    String KEY_FILE_NAME = "fileName";
    String KEY_FILE_BASE64_PIC = "fileBase64Pic";
    String KEY_JPUSH_RECEIVER="jpush_recevier";
    String KEY_OBJECT = "object";
    String KEY_CONFIGCODE="configCode";
    String KEY_CONTRACT="contractCode";

    String VIDEO_URL = "video_url";
    String KEY_LAT = "lat";
    String KEY_LON = "lon";

    String FORMAT_ORDER_REMAIN = "已付:　¥%.2f  剩余:　¥%.2f";
    double DEFAULT_LAT = 29.565226;
    double DEFAULT_LON = 106.536012;
    String DEFAULT_CITY = "重庆";
    int COLOR_PRIMARY = Color.rgb(0x44,0xbb,0x77);
    int DEFAULT_PAGE_SIZE = Integer.MAX_VALUE;
    int PAGE_SIZE = 10;

    String KEY_TYPE = "type";
    int SEARCH_TYPE_CASE = 0x1101;
    int SEARCH_TYPE_HELP = 0x1102;
    int SEARCH_TYPE_GOODS = 0x1103;
    int SEARCH_TYPE_ARTICLE_TYPE = 0x1104;
    int SEARCH_TYPE_ARTICLE = 0x1105;
    int SEARCH_TYPE_CUSTOMER = 0x1106;
    int SEARCH_TYPE_PARTNER = 0x1107;
    int SEARCH_TYPE_INCREASE = 0x1108;
    int SEARCH_TYPE_GOODS_FROM_LIST = 0x1109;
    int SEARCH_TYPE_ACCOUNT = 0x110a;

    int WEB_TYPE_HELP = 0x1302;
    int WEB_TYPE_MATCH_CENTER = 0x1303;//培训中心
    int WEB_TYPE_MESSAGE = 0x1304;//消息中心
    int WEB_TYPE_CONTRACT = 0x1305;//合同
    int WEB_TYPE_RICHTEXT = 0x1306;//富文本
    int WEB_TYPE_3D = 0x1309;


    int RESPONSE_CODE_SUC = 200;
    int RESPONSE_CODE_FAIL = 500;
    int RESPONSE_CODE_TIME_OUT = 900;
    int RESPONSE_CODE_LOGOUT = 901;


    int HOLDER_TYPE_GOODS_BANNER = 0x900d01;
    int HOLDER_TYPE_GOODS_DETAIL = 0x900d02;
    int HOLDER_TYPE_GOODS_COMMENTS = 0x900d03;//评论
    int HOLDER_TYPE_GOODS_WEBVIEW_TITLE = 0x900d04;//网页
    int HOLDER_TYPE_GOODS_WEBVIEW = 0x900d05;//网页
    int HOLDER_TYPE_GOODS_RECOMMEND = 0x900d06;//推荐
    int HOLDER_TYPE_GOODS_RECOMMEND_MORE = 0x900d66;//推荐更多
    int HOLDER_TYPE_GOODS_BOTTOM = 0x900d07;//没有更多了

    int HOLDER_TYPE_GOODS_ATTR_PROPERTY = 0x900da01;
    int HOLDER_TYPE_GOODS_ATTR_COUNT = 0x900da02;


    int HOLDER_TYPE_ARTICLE = 7;//培训中心
    int HOLDER_TYPE_TAKE_ORDER = 8;//首页接单


    int HOLDER_TYPE_EVALUATE_GOODS = 0xe7a900d;

    int ACCOUNT_TYPE_COMMEN=1;

    int HOLDER_TYPE_MATCH_HEADER = 0x3a01;
    int HOLDER_TYPE_MATCH_RECOMMEND = 0x3a02;

    int PHOTO_GRAPH = 2, SELECT_PICTURE = 3, SAVE_PHOTO = 6;

    int CALLBACK_TYPE_RECYCLER_ADAPTER = 1;//recyclerView adapter
    int CALLBACK_TYPE_RECOVER = 2;//特殊事件
    int CALLBACK_TYPE_QUICK_ADAPTER = 3;//quick adapter
    int CALLBACK_TYPE_GOODS_DETAIL = 4;//特殊事件
    int CALLBACK_TYPE_BOOLEAN = 5;//boolean
    int CALLBACK_TYPE_ADD_PICTURE = 6;//特殊事件
    int CALLBACK_TYPE_NUM = 7;//int
    int CALLBACK_TYPE_DELETE_PICTURE = 8;//特殊事件
    int CALLBACK_TYPE_FAILURE = 9;//请求失败
    int CALLBACK_TYPE_ORDER_DATA = 10;//特殊事件
    int CALLBACK_TYPE_LIST = 11;//列表
    int CALLBACK_TYPE_MORE = 12;//更多
    int CALLBACK_TYPE_STRING = 13;//字符串

    int ORDER_TYPE_GOODS = 1;
    int ORDER_TYPE_CART = 2;
    int ORDER_TYPE_CANCEL = 3;
    int ORDER_TYPE_PAY = 4;
    int ORDER_TYPE_PART_PAY = 5;
    int ORDER_TYPE_PAYED = 6;
    int ORDER_TYPE_COMPLETE = 7;
    int ORDER_TYPE_CLOSE = 8;
    int ORDER_TYPE_EVALUATED = 9;

    int ORDER_PAGE_HOLDER_TYPE_ADDRESS = 0;
    int ORDER_PAGE_HOLDER_TYPE_GOODS_LIST= 1;
    int ORDER_PAGE_HOLDER_TYPE_GHT = 2;
    int ORDER_PAGE_HOLDER_TYPE_INVOICE = 3;
    int ORDER_PAGE_HOLDER_TYPE_CONSUMER_MESSAGE = 4;
    int ORDER_PAGE_HOLDER_TYPE_STATE = 5;

    int INTENT_SELECT_PIC = 1;


    int INTENT_JPUSH_RECEIVER=3;


    int MeCaseDetail_LIST_DATA=0;

    int SHOW_SIZE = 5;

    int DOUBLE_CLICK_TIME_SPACE = 2000;

    int RES_ID_GOODS_DEFAULT = R.drawable.i_goods_default;
}
